//
//  SINAServicePariseModel.m
//  sinashebao
//
//  Created by  androidlongs on 2018/3/1.
//  Copyright © 2018年  androidlongs. All rights reserved.
//

#import "SINAServicePariseModel.h"

@implementation SINAServicePariseModel
-(instancetype)initWithDict:(NSDictionary *)result{
    if (self=[super init]) {
        /*
         "_serveevaluatecnt": 0.0,
         "_servecnt": 19,
         "_parttimefinishcnt": 2,
         "_parttimecnt": 14,
         "_servefinishcnt": 7,
         "_parttimeevaluatecnt": 0.0
         */
        
        _serveevaluatecnt=[result[@"serveevaluatecnt"] integerValue] ;
        _servefinishcnt=[result[@"servefinishcnt"] integerValue];
        _servecnt=[result[@"servecnt"] integerValue];
        
        _parttimefinishcnt=[result[@"parttimefinishcnt"]integerValue];
        _parttimecnt=[result[@"parttimecnt"]integerValue];
        _parttimeevaluatecnt=[result[@"parttimeevaluatecnt"]integerValue];
        
    }
    return self;
}
+(instancetype)userWithDict:(NSDictionary *)dict{
    return [[self alloc] initWithDict:dict];
}
@end
